<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        * {
            box-sizing: border-box
        }

        .container {
            width: 100%;
            background-color: #ddd;
        }
        .skills {
            text-align: right;
            padding-top: 10px;
            padding-bottom: 10px;
            color: white;
        }
        .html {
            width: 90%;
            background-color: #04AA6D;
        }
    </style>
</head>

<body>


    <br><br><br><br><br><br><br>


    <div class="container">
        <div class="skills html">90%</div>
    </div>




  
    <xmp style="font-size: 22px; font-weight: bolder;  margin-bottom: 66px;  color: black;  font-family: '微软雅黑';">   
        
       
        必知必会
        
        <div class="container">
            <div class="skills html">90%</div>
        </div>

        .container {
            width: 100%;
            background-color: #ddd;
        }
        .skills {
            text-align: right;    =>  文字向右排列 
            padding-top: 10px;
            padding-bottom: 10px;
            color: white;
        }
        .html {
            width: 90%;
            background-color: #04AA6D;
        }
    </xmp>







</body>

</html>